<%
/**
 *  @author
 *  Date : 2012-10-10
 *  Description : Payment receipt for customer
 */

    final String pageTitle = "Payment Receipt";
    final String pageTitleEN = "PAYMENT HISTORY";
    final String pageTitleBM = "";
%>

<%@ page import="com.checkfree.isolutions.customer.persist.*" %>
<%@ page import="com.checkfree.isolutions.statement.*" %>
<%@ page import="com.checkfree.isolutions.statement.persist.*" %>
<%@ page import="com.myebills.ebpsfrontend.controller.*" %>
<%@ page import="com.checkfree.isolutions.property.Properties" %>
<%@ page import="com.checkfree.isolutions.property.PropertiesConfig" %>
<%@ page import="java.util.*" %>
<%@ page import="java.net.*" %>
<%@ page import="java.text.*" %>
<%@ page import="com.myebills.ebpsfrontend.maxis.*" %>

<%
	String merchantID = EbppxUtil.nullToEmpty(request.getParameter("merchantID"));
	String merchTxnRef = EbppxUtil.nullToEmpty(request.getParameter("merchTxnRef"));
	String orderID = EbppxUtil.nullToEmpty(request.getParameter("orderID"));
	String orderInfo = EbppxUtil.nullToEmpty(request.getParameter("orderInfo"));
	String systemID = EbppxUtil.nullToEmpty(request.getParameter("systemID"));
	String amount = EbppxUtil.nullToEmpty(request.getParameter("amount"));
	String billPaymentMSISDN = EbppxUtil.nullToEmpty(request.getParameter("billpaymentMSISDN_or_AccNo"));
	String paymentType = EbppxUtil.nullToEmpty(request.getParameter("paymentType"));
	String nrcID = EbppxUtil.nullToEmpty(request.getParameter("nrcID"));
	String hash = EbppxUtil.nullToEmpty(request.getParameter("hash"));
	String deviceFingerprint = EbppxUtil.nullToEmpty(request.getParameter("deviceFingerprint"));
	String productIdentifierCode = EbppxUtil.nullToEmpty(request.getParameter("productIdentifierCode"));
	String productName = EbppxUtil.nullToEmpty(request.getParameter("productName"));
	String productQuantity = EbppxUtil.nullToEmpty(request.getParameter("productQuantity"));
	String customerEmail = EbppxUtil.nullToEmpty(request.getParameter("customerEmail"));
	String IPaddress = EbppxUtil.nullToEmpty(request.getParameter("IPaddress"));
	String timestamp = EbppxUtil.nullToEmpty(request.getParameter("timestamp"));
	String message = EbppxUtil.nullToEmpty(request.getParameter("Message"));
	String receiptNo = EbppxUtil.nullToEmpty(request.getParameter("receiptNo"));
	String txnResponseCode = EbppxUtil.nullToEmpty(request.getParameter("txnResponseCode"));
	String txnNo = EbppxUtil.nullToEmpty(request.getParameter("txnNo"));
%>
<html>

<head>
	<meta charset="utf-8" />

  	<!-- Set the viewport width to device width for mobile -->
  	<meta name="viewport" content="width=device-width" />

  	<title>Maxis IPC</title>
</head>
<body onLoad="SubmitForm()">
<form name="RedirectForm" method="post" action="CusPaymentReceiptView.jsp">
<input type="hidden" name="merchantID" value="<%=merchantID%>">
<input type="hidden" name="merchTxnRef" value="<%=merchTxnRef%>">
<input type="hidden" name="orderID" value="<%=orderID%>">
<input type="hidden" name="orderInfo" value="<%=orderInfo%>">
<input type="hidden" name="systemID" value="<%=systemID%>">
<input type="hidden" name="amount" value="<%=amount%>">
<input type="hidden" name="billpaymentMSISDN_or_AccNo" value="<%=billPaymentMSISDN%>">
<input type="hidden" name="paymentType" value="<%=paymentType%>">
<input type="hidden" name="nrcID" value="<%=nrcID%>">
<input type="hidden" name="hash" value="<%=hash%>">
<input type="hidden" name="deviceFingerprint" value="<%=deviceFingerprint%>">
<input type="hidden" name="productIdentifierCode" value="<%=productIdentifierCode%>">
<input type="hidden" name="productName" value="<%=productName%>">
<input type="hidden" name="productQuantity" value="<%=productQuantity%>">
<input type="hidden" name="customerEmail" value="<%=customerEmail%>">
<input type="hidden" name="IPaddress" value="<%=merchantID%>">
<input type="hidden" name="timestamp" value="<%=timestamp%>">
<input type="hidden" name="Message" value="<%=message%>">
<input type="hidden" name="receiptNo" value="<%=receiptNo%>">
<input type="hidden" name="txnResponseCode" value="<%=txnResponseCode%>">
<input type="hidden" name="txnNo" value="<%=txnNo%>">
</form>
</body>

<script type="text/javascript">
function SubmitForm () {
var frm = document.RedirectForm;
frm.submit();
}
</script>
</html>
